import base64

def encode(password):

    password = base64.encodebytes(password.encode('utf8'))

    password = str(password, encoding = "utf8")

    return password


